package com.zys.el.time.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel("滚动查询分页")
public class ScrollPage<T> {
    @ApiModelProperty("数据列表")
    private List<T> records;

    @ApiModelProperty("本次分页最小时间")
    private Long minTime;

    @ApiModelProperty("偏移量")
    private Integer offset;

}
